<?php

namespace SmmsSdk\App;

use Pimple\Container;
use Pimple\ServiceProviderInterface;

class ImageServiceProvider implements ServiceProviderInterface
{
    public function register(Container $pimple)
    {
        $pimple['image'] = function ($pimple) {
            return new Image($pimple, $pimple['access_token']);
        };
    }
}